// 图表相关的接口函数
import request from '@/utils/http.js'

//1.行业岗位分布情况
export const querySpreadJobCountAPI = () => {
    return request({
        url: '/chart/querySpreadJobCount',
        method: 'post',
    })
}
//2.查询热门城市平均薪资
export const queryHotCityAverageSalaryAPI = () => {
    return request({
        url: '/chart/queryHotCityAverageSalary',
        method: 'post',
    })
}

//3.企业查询-近七周投递数量变化情况
export const querySendRecordChangeAPI = (enterpriseId) => {
    return request({
        url: '/chart/querySendRecordChange',
        method: 'post',
        params:{enterpriseId}
    })
}

//4.企业查询-查询近七周投递学历占比情况
export const querySendRecordSpreadAPI = (enterpriseId) => {
    return request({
        url: '/chart/querySendRecordSpread',
        method: 'post',
        params:{enterpriseId}
    })
}